    1  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
    2  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
    3  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ssh ubuntu@47.108.90.190
    4  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
    5  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
    6  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 创建目录结构
    7  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p ~/homework1/dir1/{subdir1,subdir2}
    8  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p ~/homework1/test/{subtest1,subtest2}
    9  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 创建软链接
   10  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ln -s ../test/subtest1 ~/homework1/dir1/subdir3
   11  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 创建文件
   12  /root/linuxaa2024/homework2:2025-04-15 15:02:43:touch ~/item1.txt
   13  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 生成目录树并保存
   14  /root/linuxaa2024/homework2:2025-04-15 15:02:43:tree ~ > ~/homework1/homework1.test1.1
   15  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo apt update && sudo apt install -y tree
   16  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo yum install -y tree
   17  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p ~/homework1/dir1/{subdir1,subdir2}
   18  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   19  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p ~/homework1/test/{subtest1,subtest2}
   20  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ln -s ../test/subtest1 ~/homework1/dir1/subdir3
   21  /root/linuxaa2024/homework2:2025-04-15 15:02:43:touch ~/item1.txt
   22  /root/linuxaa2024/homework2:2025-04-15 15:02:43:tree ~ > ~/homework1/homework1.test1.1 2>&1 || {     echo "目录树结构:" > ~/homework1/homework1.test1.1;     find ~ -not -path '*/\.*' -printf '%P\n' | sort >> ~/homework1/homework1.test1.1; }
   23  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   24  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ~/homework1/dir1/subdir3
   25  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd -P ..
   26  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd | tee ~/homework1/homework1.test1.3
   27  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ~/homework1/dir1/subdir3
   28  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
   29  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd | tee ~/homework1/homework1.test1.4
   30  /root/linuxaa2024/homework2:2025-04-15 15:02:43:history > ~/homework1/homework1.test1.5
   31  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   32  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat ~/homework1/homework1.test1.1
   33  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat ~/homework1/homework1.test1.3
   34  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat ~/homework1/homework1.test1.4 
   35  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat ~/homework1/homework1.test1.5
   36  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
   37  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
   38  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   39  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm it
   40  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm item1.txt
   41  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   42  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm item1.txt
   43  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   44  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm -rf homework1
   45  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   46  /root/linuxaa2024/homework2:2025-04-15 15:02:43:git -version
   47  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo apt update
   48  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo yum install git
   49  /root/linuxaa2024/homework2:2025-04-15 15:02:43:git config --global user.name "zeng xiaobo"
   50  /root/linuxaa2024/homework2:2025-04-15 15:02:43:git config --global user.email "3443203410@qq.com"
   51  /root/linuxaa2024/homework2:2025-04-15 15:02:43:git clone https://gitee.com/gznu_ics/linuxaa2024.git
   52  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd repository
   53  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   54  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd linuxaa2024/
   55  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   56  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
   57  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   58  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p homework1/dir1/{subdir1,subdir2} homework1/test/{subtest1,subtest2}
   59  /root/linuxaa2024/homework2:2025-04-15 15:02:43:touch homework1/item1.txt
   60  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ln -s ../test/subtest1 homework1/dir1/subdir3
   61  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo yum install tree
   62  /root/linuxaa2024/homework2:2025-04-15 15:02:43:tree > ./homework1/homework1.test1.1
   63  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm -r ./homework1/
   64  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm -r ./homework1
   65  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
   66  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
   67  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
   68  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
   69  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd linuxaa2024/homework1
   70  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p homework1/dir1/{subdir1,subdir2}
   71  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mkdir -p homework1/test/{subtest1,subtest2}
   72  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ln -s ../test/subtest1 homework1/dir1/subdir3
   73  /root/linuxaa2024/homework2:2025-04-15 15:02:43:tree homework1 > homework1/homework1.test1.1
   74  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework1/dir1/subdir3
   75  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd -P ..
   76  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd > ../../homework1/homework1.test1.3
   77  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/Linuxaa2024/homework1/dir1/subdir3
   78  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l /root/Linuxaa2024/homework1
   79  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
   80  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls
   81  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework1
   82  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/Linuxaa2024/homework1/homework1/dir1/subdir3
   83  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
   84  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
   85  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
   86  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/linuxaa2024/homework1
   87  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
   88  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework1
   89  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
   90  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd dir1/subdir3
   91  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
   92  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd > ../homework1/homework1.test1.4
   93  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd > ../homework1/homework1/homework1.test1.4
   94  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd > ../../homework1/homework1.test1.3
   95  /root/linuxaa2024/homework2:2025-04-15 15:02:43:pwd > ../../homework1/homework1.test1.4
   96  /root/linuxaa2024/homework2:2025-04-15 15:02:43:history
   97  /root/linuxaa2024/homework2:2025-04-15 15:02:43:history > homework1/homework1.test1.5
   98  /root/linuxaa2024/homework2:2025-04-15 15:02:43:history > ../../homework1/homework1.test1.5
   99  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l homework1
  100  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  101  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l homework1
  102  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  103  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l homework1
  104  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat homework1/homework1.test1.1
  105  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  106  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework1
  107  /root/linuxaa2024/homework2:2025-04-15 15:02:43:mv homework1/* ./
  108  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
  109  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rmdir homework1
  110  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
  111  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  112  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
  113  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework1
  114  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l
  115  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat homework1.test1.1
  116  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat homework1.test1.3
  117  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat homework1.test1.4
  118  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/linuxaa2024/homework1
  119  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls -l GWHBJBL00000000.Protein.faa result_sample.lst
  120  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat result_sample.lst
  121  /root/linuxaa2024/homework2:2025-04-15 15:02:43:grep '^>' GWHBJBL00000000.Protein.faa | cut -d ' ' -f 1 | sed 's/^>//' > Gene_ID.lst
  122  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat Gene_ID.lst
  123  /root/linuxaa2024/homework2:2025-04-15 15:02:43:grep -c '^>' GWHBJBL00000000.Protein.faa
  124  /root/linuxaa2024/homework2:2025-04-15 15:02:43:protein_count=$(grep -c '^>' GWHBJBL00000000.Protein.faa)
  125  /root/linuxaa2024/homework2:2025-04-15 15:02:43:total_aa=$(grep -v '^>' GWHBJBL00000000.Protein.faa | tr -d '\n' | wc -c)
  126  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "Number of protein sequences: $protein_count" > Gene_prot.inf
  127  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "Total amino acid count: $total_aa" >> Gene_prot.inf
  128  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat Gene_prot.inf
  129  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  130  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework2
  131  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo hostnamectl set-hostname zxb
  132  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "zxb" | sudo tee /etc/hostname
  133  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo sed -i 's/^$127.0.1.1\s*$.*/\1jwl/' /etc/hosts
  134  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hosts
  135  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "127.0.1.1   jwl" | sudo tee -a /etc/hosts
  136  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "127.0.1.1   zxb" | sudo tee -a /etc/hosts
  137  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo sed -i '/^127\.0\.1\.1\s\+jwl$/d' /etc/hosts
  138  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hosts
  139  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo hostnamectl set-hostname zxb
  140  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "zxb" | sudo tee /etc/hostname
  141  /root/linuxaa2024/homework2:2025-04-15 15:02:43:sudo reboot
  142  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
  143  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
  144  /root/linuxaa2024/homework2:2025-04-15 15:02:43:hostname
  145  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo $HOSTNAME
  146  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  147  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root/linuxaa22024
  148  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root/linuxaa2024
  149  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework2
  150  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 查看 /etc/hostname 文件内容
  151  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hostname > homework2.test0.1.1
  152  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 查看环境变量 HOSTNAME
  153  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo $HOSTNAME >> homework2.test0.1.1
  154  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 重启后再次查看 HOSTNAME 环境变量
  155  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo $HOSTNAME >> homework2.test0.1.1
  156  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 查看 /etc/hostname 文件内容
  157  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hostname > work2.test0.1.1
  158  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 查看环境变量 HOSTNAME
  159  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo $HOSTNAME >> work2.test0.1.1
  160  /root/linuxaa2024/homework2:2025-04-15 15:02:43:# 重启后再次查看 HOSTNAME 环境变量
  161  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo $HOSTNAME >> work2.test0.1.1
  162  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hostname > work2.test0.1.1
  163  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hostname > work2.test2.1
  164  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat /etc/hostname >homework2.test0.1.1
  165  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test0.1.1
  166  /root/linuxaa2024/homework2:2025-04-15 15:02:43:rm homework2.test0.1.1 
  167  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test2.1
  168  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
  169  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
  170  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/Linuxaa2024/homework2
  171  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root
  172  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  173  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd /root/Linuxaa2024/homework2
  174  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root/linuxaa2024
  175  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework2
  176  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim example.sh
  177  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x example.sh
  178  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./example.sh > work2.test0.2.A
  179  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test0.2.A
  180  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim sharams.sh
  181  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x shparams.sh
  182  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x sharams.sh 
  183  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./sharams.sh one two three four five six > work2.test0.2.B
  184  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test0.2.B
  185  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim mkcdrom.sh
  186  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim chkhost.sh
  187  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim chkscore.sh
  188  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./mkcdrom.sh >> work2.test0.2.C
  189  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x mkcdrom.sh chkhost.sh chkscore.sh
  190  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./mkcdrom.sh >> work2.test0.2.C
  191  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./chkhost.sh 192.168.10.10 >> work2.test0.2.C
  192  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./chkhost.sh 192.168.10.20 >> work2.test0.2.C
  193  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "30" | ./chkscore.sh >> work2.test0.2.C
  194  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "200" | ./chkscore.sh >> work2.test0.2.C
  195  /root/linuxaa2024/homework2:2025-04-15 15:02:43:echo "abc" | ./chkscore.sh >> work2.test0.2.C
  196  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test0.2.C
  197  /root/linuxaa2024/homework2:2025-04-15 15:02:43:ls /dev/cdrom
  198  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
  199  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root
  200  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  201  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root
  202  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd linuxaa2024/
  203  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd homework2
  204  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim mkcdrom.sh
  205  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
  206  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
  207  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd ..
  208  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd root/linuxaa2024/homework2
  209  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim users.txt
  210  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim iptests.txt
  211  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim addusers.sh
  212  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim checkHosts.sh
  213  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x addusers.sh checkHosts.sh
  214  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./addusers.sh >> work2.test0.2.D
  215  /root/linuxaa2024/homework2:2025-04-15 15:02:43:./checkHosts.sh >> work2.test0.2.D
  216  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cd work2
  217  /root/linuxaa2024/homework2:2025-04-15 15:02:43:vim Guess.sh
  218  /root/linuxaa2024/homework2:2025-04-15 15:02:43:chmod +x Guess.sh
  219  /root/linuxaa2024/homework2:2025-04-15 15:02:43:cat work2.test0.2.E
  220  /root/linuxaa2024/homework2:2025-04-15 15:02:43:{     echo "500";     echo "300";     echo "456"; } | ./Guess.sh > work2.test0.2.E
  221  /root/linuxaa2024/homework2:2025-04-15 15:02:43: MAKRER=SHOW_LOCALE;printf $MAKRER""; locale; MAKRER=SHOW_LOCALE;printf $MAKRER"";
  222  /root/linuxaa2024/homework2:2025-04-15 15:02:43: CHECK_TYPE=SHELL; echo "INFO=${CHECK_TYPE} PID=$$ PPID=$PPID TTY=$(tty) SHELL=$0 HOME=$HOME PWD=$PWD| CHECK_SHELL_END"
  223  /root/linuxaa2024/homework2:2025-04-15 15:06:05:cd ..
  224  /root/linuxaa2024/homework2:2025-04-15 15:06:46:cd root/linuxaa2024/homework2
  225  /root/linuxaa2024/homework2:2025-04-15 15:06:48:vim Checkkeys.sh
  226  /root/linuxaa2024/homework2:2025-04-15 15:08:00:chmod +x Checkkeys.sh
  227  /root/linuxaa2024/homework2:2025-04-15 15:08:13:{     echo "p";     echo "6";     echo " "; } | ./Checkkeys.sh > work2.test0.2.F
  228  /root/linuxaa2024/homework2:2025-04-15 15:08:24:cat work2.test0.2.F
  229  /root/linuxaa2024/homework2:2025-04-15 15:11:14:history
  230  /root/linuxaa2024/homework2:2025-04-15 15:11:40:history | tail -n 20 > ../work2.test0.3a
  231  /root/linuxaa2024/homework2:2025-04-15 15:11:55:cat ../work2.test0.3a
  232  /root/linuxaa2024/homework2:2025-04-15 15:17:40:vim ~/.bashrc
  233  /root/linuxaa2024/homework2:2025-04-15 15:19:00:source ~/.bashrc
  234  /root/linuxaa2024/homework2:2025-04-15 15:20:39:cat ~/.bashrc
  235  /root/linuxaa2024/homework2:2025-04-15 15:24:12:vim ~/.bashrc
  236  /root/linuxaa2024/homework2:2025-04-15 15:28:23:source ~/.bashrc
  237  /root/linuxaa2024/homework2:2025-04-15 15:28:33:pwd
  238  /root/linuxaa2024/homework2:2025-04-15 15:28:45:history | tee work2.test1.1
